Output goes here:
Using site pages: While Loops | For Loops | Arrays (Extra)
Note: typeof returns arrays as "object". Anything can realistically be put inside an array.
Contents can be returned as a string using "name".toString().
Use [0] to access the first element, [1] to access the second element, and so on so forth.
cars.length will return the number of elements. cars.sort() sorts the array.
Click here to return to index.html.